|
| | StateAngle (double _angle, bool _fixed=false, bool _transformable=true) |
| | Constructor from an angle. More...
|
| |
| | StateAngle (const Eigen::VectorXd &_angle, bool _fixed=false, bool _transformable=true) |
| | Constructor from a vector of size 1. More...
|
| |
| | WOLF_STATE_BLOCK_CREATE (StateAngle) |
| |
| | ~StateAngle () override |
| |
| virtual void | transform (const VectorComposite &_transformation) override |
| | Transforms the state to another reference frame (if transformable) More...
|
| |
| | StateBlock (const std::string &_type, const SizeEigen _size, bool _fixed=false, LocalParametrizationBasePtr _local_param_ptr=nullptr, bool _transformable=true) |
| | Constructor from size. More...
|
| |
| | StateBlock (const std::string &_type, const Eigen::VectorXd &_state, bool _fixed=false, LocalParametrizationBasePtr _local_param_ptr=nullptr, bool _transformable=true) |
| | Constructor from vector. More...
|
| |
| | StateBlock (const StateBlock &o)=delete |
| | Not copyable. More...
|
| |
| | StateBlock (StateBlock &&o)=delete |
| | Not movable. More...
|
| |
| StateBlock & | operator= (const StateBlock &o)=delete |
| | Not assignable. More...
|
| |
| virtual | ~StateBlock () |
| | Destructor. More...
|
| |
| std::string | getType () const |
| | Returns the type of the state block. More...
|
| |
| Eigen::VectorXd | getState () const |
| | Returns the state vector. More...
|
| |
| double * | getStateData () |
| | Returns the state vector data array. More...
|
| |
| void | setState (const Eigen::VectorXd &_state, const bool _notify=true) |
| | Sets the state vector. More...
|
| |
| SizeEigen | getSize () const |
| | Returns the state size. More...
|
| |
| SizeEigen | getLocalSize () const |
| | Returns the size of the local parametrization. More...
|
| |
| bool | isFixed () const |
| | Returns whether the state is fixed (not estimated) More...
|
| |
| void | fix () |
| | Sets the state as fixed. More...
|
| |
| void | unfix () |
| | Sets the state as estimated. More...
|
| |
| void | setFixed (bool _fixed) |
| | Sets the state status. More...
|
| |
| bool | hasLocalParametrization () const |
| | Returns whether the state has a local parametrization. More...
|
| |
| LocalParametrizationBasePtr | getLocalParametrization () const |
| | Returns the state local parametrization ptr. More...
|
| |
| void | setLocalParametrization (LocalParametrizationBasePtr _local_param) |
| | Sets a local parametrization. More...
|
| |
| void | removeLocalParametrization () |
| | Removes the state_block local parametrization. More...
|
| |
| bool | stateUpdated () const |
| | Returns whether the state has been updated (to be notified to the solver) More...
|
| |
| bool | fixUpdated () const |
| | Returns whether the fixed status has been updated (to be notified to the solver) More...
|
| |
| bool | localParamUpdated () const |
| | Returns whether the local parametrization has been updated (to be notified to the solver) More...
|
| |
| void | resetStateUpdated () |
| | Resets the state updated flag. More...
|
| |
| void | resetFixUpdated () |
| | Resets the fixed status updated flag. More...
|
| |
| void | resetLocalParamUpdated () |
| | Resets the local parametrization updated flag. More...
|
| |
| virtual void | setIdentity (bool _notify=true) |
| | Sets the state to the identity element. More...
|
| |
| void | setZero (bool _notify=true) |
| | Sets the state to zero (the identity element) More...
|
| |
| virtual Eigen::VectorXd | identity () const |
| | Returns the identity element of the state. More...
|
| |
| Eigen::VectorXd | zero () const |
| | Returns the zero (identity) element of the state. More...
|
| |
| void | perturb (double amplitude=0.1) |
| | Perturbs the state (if not fixed) with random noise following a uniform distribution in [-amplitude, amplitude] (in the tangent space) More...
|
| |
| bool | isTransformable () const |
| | Returns whether the state block can be transformed to another reference frame. More...
|
| |
| void | setTransformable (bool _trf=true) |
| | Sets whether the state block can be transformed to another reference frame. More...
|
| |
| void | setNonTransformable () |
| | Sets the state block as not transformable to another reference frame. More...
|
| |
| virtual void | transform (const VectorComposite &_transformation)=0 |
| | Transforms the state to another reference frame (if transformable) More...
|
| |
| void | plus (const Eigen::VectorXd &_dv) |
| | Adds a (tangent) increment to the state, through the local parametrization if any. More...
|
| |
| bool | isValid (double tolerance=Constants::EPS) |
| | Returns whether the state is valid according to its local parametrization (e.g. unit quaternion) More...
|
| |
State block of an angle (2D orientation), wrapped to [-pi, pi].